package com.red.star.wechat.data.mappers;

import com.red.star.wechat.data.core.base.MyMapper;
import com.red.star.wechat.data.entity.StoredCard;
import com.red.star.wechat.data.entity.po.StoredCardPrinterPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @Description:
* @Author:  xuquanyu
* @CreateDate: 2018/10/29 11:30
* @Version: 1.0
*/
public interface StoredCardPrinterMapper extends MyMapper<StoredCardPrinterPO> {

    List<StoredCard> getStoredCardBindGroup(@Param("id") Integer id);

    List<StoredCardPrinterPO> storedCardGroupList(StoredCardPrinterPO storedCardPrinterPO);

    StoredCard getEchoStoredCardGroup(@Param("id") Integer id,@Param("groupId") Integer groupId);
}
